/*
 * @Author: your name
 * @Date: 2020-08-24 21:08:07
 * @LastEditTime: 2020-08-26 21:09:09
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \examlist\src\api\type.js
 */
import { getUrl, postUrl } from '../utils/https'

export const getType = () => {
  return getUrl('/exam/getQuestionsType')
}

export const delType = (data) => {
  return postUrl('/exam/delQuestionsType', data)
}

export const addType = (data) => {
  return getUrl('/exam/insertQuestionsType', data)
}
